/* 全局样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
header {
    background-color: #003366;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo img {
    height: 80px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
}

.logo p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

.banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
    border-radius: 4px;
}

/* 横幅样式 */
.banner {
    background-color: #003366;
    color: white;
    padding: 5rem 1rem;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('banner.jpg');
    background-size: cover;
    background-position: center;
}

.banner h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.banner p {
    font-size: 1.5rem;
}

/* 特色区域样式 */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #003366;
}

.highlight-item h3 {
    color: #003366;
    margin-top: 0;
}

.highlight-item a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

.highlight-item a:hover {
    text-decoration: underline;
}

/* 新闻区域样式 */
.news {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f5f5f5;
}

.news h2 {
    border-bottom: 2px solid #003366;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-list article {
    background-color: white;
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.news-list article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-list h3 {
    color: #003366;
    margin-top: 0;
    font-size: 1.3rem;
}

.news-list p {
    margin: 0.8rem 0;
    color: #555;
}

.news-list a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

.date {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.more-news {
    text-align: center;
    margin-top: 2rem;
}

.more-news a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 1px solid #003366;
    border-radius: 4px;
}

.more-news a:hover {
    background-color: #003366;
    color: white;
}

/* 活动预告样式 */
.events {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.events h2 {
    border-bottom: 2px solid #003366;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.event-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.event-item {
    background-color: #003366;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.event-item h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.event-item p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* 快速链接样式 */
.quick-links {
    background-color: #f5f5f5;
    padding: 2rem;
    text-align: center;
}

.quick-links h2 {
    color: #003366;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.links a {
    background-color: #003366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.1rem;
}

.links a:hover {
    background-color: #002244;
}

/* 页脚样式 */
footer {
    background-color: #002244;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0.5rem 0;
}